<!--#include('header.html')-->

{@ $col_count = 3 }
<table cellspacing="0" border="1" summary="List of Articles" class="issuetrackerList">
    <thead>
        <tr>
            <th scope="col">{$lang->completed_date}</th>
            <th scope="col">{$lang->deadline}</th>
            <!--@foreach($lang->status_list as $k => $v)-->
            {@ $col_count += 1 }
            <th scope="col" class="issue_{$k}">{$v}</th>
            <!--@end-->
            <th scope="col">{$lang->total_issue}</th>
        </tr>
    </thead>
    <tbody>
        <!--@foreach($milestones as $val)-->
        <!--@if($val->milestone_srl == 0)-->
        {@ $val->title = $lang->not_assigned}
        {@ $val->description = $lang->not_assigned_description}
        <!--@end-->
        <tr class="title">
            <td class="title <!--@if($val->is_completed=='Y')-->completed<!--@end-->" colspan="{$col_count}" >
                {@$resolved = $val->issues['resolve'] + $val->issues['postponed'] + $val->issues['duplicated'] + $val->issues['invalid']}
                <strong><a href="{getUrl('','mid',$mid,'act','dispIssuetrackerViewIssue','milestone_srl', $val->milestone_srl)}">{$val->title}</a></strong>
                <p class="summary">{nl2br($val->description)}&nbsp;</p>
            </td>
        </tr>
        <tr>
            <td class="date">{zdate($val->released_date, "Y-m-d")}&nbsp;</td>
            <td class="date">{zdate($val->deadline, 'Y-m-d')}&nbsp;</td>
            <!--@foreach($lang->status_list as $k => $v)-->
            <td class="status issue_{$k}"> <a href="{getUrl('','mid',$mid,'act','dispIssuetrackerViewIssue','milestone_srl', $val->milestone_srl,'status[]',$k)}">{number_format($val->issues[$k])}</a></td>
            <!--@end-->
            <td class=""> <a href="{getUrl('','mid',$mid,'act','dispIssuetrackerViewIssue','milestone_srl', $val->milestone_srl,'status[]','')}">{number_format($val->issues['total'])}</a></td>
        </tr>
        <!--@end-->
    </tbody>
</table>

<!--#include('footer.html')-->
